﻿<form id="voteform" name="voteform">
		#foreach($VoteEntity in $cmn.VoteList("1",3600))
		<table width="100%">
			<tr>
			<th>${VoteEntity.Title}</th>
			</tr>
		</table>

#foreach($voteInfo in ${VoteEntity.VoteInfos})
		<dl>
			<dt>
 #if(${VoteEntity.Type})
<input type="checkbox" name="vote" value="${voteInfo.Id}" />
#else
<input type="radio" name="vote" value="${voteInfo.Id}" />
#end
			</dt>
			<dd>${voteInfo.Title}</dd>
		</dl>
#end


		<div class="votesubmit">
			<input type="button" onclick="ajaxPluginVoteAdd(${vote.id},${vote.type},this)" value="投票" class="LoginInput">
			<input type="button" value="查看" class="LoginInput" onclick="window.open('${site.Dir}extends/vote/default.aspx?Id=${vote.id}');">
		</div>
		#end
		</form>